package com.demo.apply.dao;

import com.baomidou.mybatisplus.plugins.Page;
import com.demo.apply.model.TDApply;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.demo.apply.model.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 申请表 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2021-11-10
 */
public interface TDApplyMapper extends BaseMapper<TDApply> {

    List<Map<String, Object>> list(TDApply tdApply);

    User getUserByUserNameAndPassword(@Param("username") String username,@Param("password") String password);

    List<Map<String, Object>> getPageList(@Param("page") Page<TDApply> page,@Param("applyName") String applyName, @Param("applySerial") String applySerial, @Param("count")String count, @Param("money")String money, @Param("type")String type, @Param("orderByField")String orderByField, @Param("asc")boolean asc);
}
